//
//  MeCardTop2TableCell.m
//  Ev_Master
//
//  Created by Evan on 2019/7/25.
//  Copyright © 2019 Evan. All rights reserved.
//

#import "MeCardTop2TableCell.h"

@implementation MeCardTop2TableCell


+ (instancetype)cellWithTableView:(UITableView *)tableView  IndexPath:(NSIndexPath *)indexPath{
    NSString *Service = [NSString stringWithFormat:@"MeCardTop2TableCell_%ld_%ld",indexPath.section,indexPath.row];
    MeCardTop2TableCell *cell = [tableView dequeueReusableCellWithIdentifier:Service];
    if (cell == nil) {
        [ tableView registerNib:[UINib nibWithNibName:@"MeCardTop2TableCell" bundle:nil] forCellReuseIdentifier:Service];
        cell = [tableView dequeueReusableCellWithIdentifier:Service];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return cell;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.btnSigning.layer.cornerRadius = 15;
    
//    self.layer.cornerRadius = 20;
//    self.layer.shadowColor = [UIColor grayColor].CGColor;
    //        阴影的透明度
//    self.layer.shadowOpacity = 0.4f;
//    self.layer.shadowOffset = CGSizeMake(0, 0);
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)btnSigningClick:(id)sender {
    self.blockBtnSigningClick();
}



@end
